const data = require("./mock/mock")


//服务器开发
module.exports = {
    //...
    devServer: {
        before: function (app) {
            app.get('/api/Index', function (req, res) {
                res.send({
                    code:1,
                    data:data
                })
            });
        },
    },
};